package com.wwu.entity.inpat;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

/**
 * 患者基本信息实体类
 * @Author: 一蓑烟雨
 * @Date: 2022/3/17 0017 下午 20:51
 */
@XmlAccessorType(XmlAccessType.FIELD)
@Data
public class Patient {
	/** 病人ID */
	@XmlElement(name = "Pid")
	@JSONField(ordinal = 11)
	@TableId("pid")
	private String  pid;

	/** 病人姓名 */
	@XmlElement(name = "PatientName")
	@JSONField(ordinal = 12)
	private String  patientName;

	/** 性别代码(1-男，2-女，3-不详) */
	@XmlElement(name = "SexCode")
	@JSONField(ordinal = 13)
	private String  sexCode;

	/** 性别(1-男，2-女，3-不详)  */
	@XmlElement(name = "Sex")
	@JSONField(ordinal = 14)
	private String  sex;

	/** 出生日期 */
	@XmlElement(name = "DataOfBirth")
	@JSONField(ordinal = 15)
	private String  dataOfBirth;

	/** 联系电话 */
	@XmlElement(name = "MobilePhone")
	@JSONField(ordinal = 16)
	private String  mobilePhone;

	/** 证件类型编码(1-身份证,4-其他) */
	@XmlElement(name = "CertTypeCode")
	@JSONField(ordinal = 17)
	private String  certTypeCode;

	/** 科证件类型编码(1-身份证,4-其他) */
	@XmlElement(name = "CertTypeName")
	@JSONField(ordinal = 18)
	private String  certTypeName;

	/** 证件号 */
	@XmlElement(name = "CertNo")
	@JSONField(ordinal = 19)
	private String  certNo;

	/** ABO血型编码(1-A型,2-B型,3-O型,4-AB型,5-不详,6-未查) */
	@XmlElement(name = "BloodTypeCode")
	@JSONField(ordinal = 20)
	private String  bloodTypeCode;

	/** ABO血型名称(1-A型,2-B型,3-O型,4-AB型,5-不详,6-未查) */
	@XmlElement(name = "BloodTypeName")
	@JSONField(ordinal = 21)
	private String  bloodTypeName;

	/** RH血型编码(1-RH阴性,2-RH阳性,3-不详,4-未查) */
	@XmlElement(name = "RhBloodTypeCode")
	@JSONField(ordinal = 22)
	private String  rhBloodTypeCode;

	/** RH血型名称(1-RH阴性,2-RH阳性,3-不详,4-未查) */
	@XmlElement(name = "RhBloodTypeName")
	@JSONField(ordinal = 23)
	private String  rhBloodTypeName;

	/** 文化水平编码 */
	@XmlElement(name = "FormalSchoolingCode")
	@JSONField(ordinal = 24)
	private String  formalSchoolingCode;

	/** 文化水平名称 */
	@XmlElement(name = "FormalSchoolingName")
	@JSONField(ordinal = 25)
	private String  formalSchoolingName;

	/** 婚姻状况编码(1-未婚,2-已婚,3-丧偶,4-离婚,9-其它) */
	@XmlElement(name = "MarriageStatusCode")
	@JSONField(ordinal = 26)
	private String  marriageStatusCode;

	/** 婚姻状况名称(1-未婚,2-已婚,3-丧偶,4-离婚,9-其它)  */
	@XmlElement(name = "MarriageStatusName")
	@JSONField(ordinal = 27)
	private String  marriageStatusName;

	/** 民族编码 */
	@XmlElement(name = "NationalityCode")
	@JSONField(ordinal = 28)
	private String  nationalityCode;

	/** 民族名称 */
	@XmlElement(name = "NationalityName")
	@JSONField(ordinal = 29)
	private String  nationalityName;

	/** 职业编码 */
	@XmlElement(name = "OccupationCode")
	@JSONField(ordinal = 30)
	private String  occupationCode;

	/** 职业名称 */
	@XmlElement(name = "OccupationName")
	@JSONField(ordinal = 31)
	private String  occupationName;

	/** 出生地编码 */
	@XmlElement(name = "BirthplaceCode")
	@JSONField(ordinal = 32)
	private String  birthplaceCode;

	/** 出生地名称 */
	@XmlElement(name = "BirthplaceName")
	@JSONField(ordinal = 33)
	private String  birthplaceName;

	/** 国籍编码 */
	@XmlElement(name = "CountryCode")
	@JSONField(ordinal = 34)
	private String  countryCode;

	/** 国籍名称 */
	@XmlElement(name = "CountryName")
	@JSONField(ordinal = 35)
	private String  countryName;

	/** 户口地址编码 */
	@XmlElement(name = "RegisteredAddressCode")
	@JSONField(ordinal = 36)
	private String  registeredAddressCode;

	/** 户口地址名称 */
	@XmlElement(name = "RegisteredAddressName")
	@JSONField(ordinal = 37)
	private String  registeredAddressName;

	/** 户口邮编 */
	@XmlElement(name = "RegisteredPostcode")
	@JSONField(ordinal = 38)
	private String  registeredPostcode;

	/** 家庭地址编码 */
	@XmlElement(name = "HomeAddressCode")
	@JSONField(ordinal = 39)
	private String  homeAddressCode;

	/** 家庭地址名称 */
	@XmlElement(name = "HomeAddressName")
	@JSONField(ordinal = 40)
	private String  homeAddressName;

	/** 家庭邮编 */
	@XmlElement(name = "HomePostcode")
	@JSONField(ordinal = 41)
	private String  homePostcode;

	/** 工作单位 */
	@XmlElement(name = "Company")
	@JSONField(ordinal = 42)
	private String  company;

	/** 工作单位电话 */
	@XmlElement(name = "BusinessPhone")
	@JSONField(ordinal = 43)
	private String  businessPhone;

	/** 工作单位地址编码 */
	@XmlElement(name = "BusinessAddressCode")
	@JSONField(ordinal = 44)
	private String  businessAddressCode;

	/** 工作单位地址名称 */
	@XmlElement(name = "BusinessAddressName")
	@JSONField(ordinal = 45)
	private String  businessAddressName;

	/** 工作单位邮编 */
	@XmlElement(name = "BusinessPostcode")
	@JSONField(ordinal = 446)
	private String  businessPostcode;

	/** 联系人姓名*/
	@XmlElement(name = "Contact")
	@JSONField(ordinal = 47)
	private String  contact;

	/** 联系人电话 */
	@XmlElement(name = "ContactPhone")
	@JSONField(ordinal = 48)
	private String  contactPhone;

	/** 联系人关系编码 */
	@XmlElement(name = "RelationCode")
	@JSONField(ordinal = 49)
	private String  relationCode;

	/** 联系人关系名称 */
	@XmlElement(name = "RelationName")
	@JSONField(ordinal = 50)
	private String  relationName;

	/** 联系人地址编码 */
	@XmlElement(name = "ContactAddressCode")
	@JSONField(ordinal = 51)
	private String  contactAddressCode;

	/** 联系人地址名称 */
	@XmlElement(name = "ContactAddressName")
	@JSONField(ordinal = 52)
	private String  contactAddressName;

	/** 联系人邮编 */
	@XmlElement(name = "ContactPostcode")
	@JSONField(ordinal = 53)
	private String  contactPostcode;
}
